我觉得以上我给你提供的逻辑，不合理，现在我把数据格式给你，你来重新写一个逻辑，判断是否完成当前节点的审批
<script>
	[
		{
			"ID": "1925459974466183170",
			"approver": 2,
			"auto": 0,
			"createBy": "admin",
			"createTime": "2025-05-22 15:53:26",

			"params": {},
			"processDefinitionId": 4866,
			"processDesignId": "PLkgOb2",
			"processInstancesId": "1925459974415851521",
			"read": 0,
			"taskGroupId": "1925459974415851520",
			"taskStatus": 1,
			"taskType": 1,

			"title": "发起人"
		},
		{
			"ID": "1925459974529097729",
			"approver": 1,
			"auto": 0,
			"createBy": "admin",
			"createTime": "2025-05-22 15:53:26",

			"params": {},
			"preTaskId": "1925459974466183170",
			"processDefinitionId": 4866,
			"processDesignId": "lCeN3c2",
			"processInstancesId": "1925459974415851521",
			"read": 0,
			"taskGroupId": "1925459974415851520",
			"taskStatus": 2,
			"taskType": 2,

			"counterSign": false,
			"title": "审批人"
		},
		{
			"ID": "1925459974529097730",
			"approver": 2,
			"auto": 0,
			"createBy": "admin",
			"createTime": "2025-05-22 15:53:26",

			"params": {},
			"preTaskId": "1925459974466183170",
			"processDefinitionId": 4866,
			"processDesignId": "lCeN3c2",
			"processInstancesId": "1925459974415851521",
			"read": 0,
			"taskGroupId": "1925459974415851520",
			"taskStatus": 2,
			"taskType": 2,

			"counterSign": false,
			"title": "审批人"
		},
		{
			"ID": "1925460010398785538",
			"approver": 1,
			"auto": 0,
			"createBy": "admin",
			"createTime": "2025-05-22 15:53:34",

			"params": {},
			"preTaskId": "1925459974466183170",
			"processDefinitionId": 4866,
			"processDesignId": "lCeN3c2",
			"processInstancesId": "1925459974415851521",
			"read": 0,
			"taskGroupId": "1925460010382008320",
			"taskStatus": 3,
			"taskType": 2,

			"counterSign": false,
			"title": "审批人"
		},
		{
			"ID": "1925460010398785537",
			"approver": 2,
			"auto": 0,
			"createBy": "admin",
			"createTime": "2025-05-22 15:53:34",

			"params": {},
			"preTaskId": "1925459974529097729",
			"processDefinitionId": 4866,
			"processDesignId": "PLkgOb2",
			"processInstancesId": "1925459974415851521",
			"read": 0,
			"taskGroupId": "1925460010382008320",
			"taskStatus": 3,
			"taskType": 1,

			"title": "发起人"
		},
		{
			"ID": "1925460147292479489",
			"approver": 1,
			"auto": 0,
			"createBy": "ry",
			"createTime": "2025-05-22 15:54:07",

			"params": {},
			"preTaskId": "1925459974466183170",
			"processDefinitionId": 4866,
			"processDesignId": "lCeN3c2",
			"processInstancesId": "1925459974415851521",
			"read": 0,
			"taskGroupId": "1925460147254730752",
			"taskStatus": 9,
			"taskType": 2,

			"counterSign": false,
			"title": "审批人"
		},
		{
			"ID": "1925460147225370625",
			"approver": 2,
			"auto": 0,
			"createBy": "ry",
			"createTime": "2025-05-22 15:54:07",

			"params": {},
			"preTaskId": "1925459974466183170",
			"processDefinitionId": 4866,
			"processDesignId": "PLkgOb2",
			"processInstancesId": "1925459974415851521",
			"read": 0,
			"taskGroupId": "1925460147254730752",
			"taskStatus": 6,
			"taskType": 2,

			"title": "发起人"
		},
		{
			"ID": "1925460147292479490",
			"approver": 2,
			"auto": 0,
			"createBy": "ry",
			"createTime": "2025-05-22 15:54:07",

			"params": {},
			"preTaskId": "1925459974529097730",
			"processDefinitionId": 4866,
			"processDesignId": "PLkgOb2",
			"processInstancesId": "1925459974415851521",
			"read": 0,
			"taskGroupId": "1925460147254730752",
			"taskStatus": 2,
			"taskType": 1,

			"title": "发起人"
		},
		{
			"ID": "1925460245346918402",
			"approver": 2,
			"auto": 0,
			"createBy": "ry",
			"createTime": "2025-05-22 15:54:30",

			"params": {},
			"preTaskId": "1925460147292479490",
			"processDefinitionId": 4866,
			"processDesignId": "PLkgOb2",
			"processInstancesId": "1925459974415851521",
			"read": 0,
			"taskGroupId": "1925460245372084224",
			"taskStatus": 12,
			"taskType": 1,

			"title": "发起人"
		},
		{
			"ID": "1925460245409832961",
			"approver": 1,
			"auto": 0,
			"createBy": "ry",
			"createTime": "2025-05-22 15:54:30",

			"params": {},
			"preTaskId": "1925460147292479490",
			"processDefinitionId": 4866,
			"processDesignId": "lCeN3c2",
			"processInstancesId": "1925459974415851521",
			"read": 0,
			"taskGroupId": "1925460245372084224",
			"taskStatus": 2,
			"taskType": 2,

			"counterSign": false,
			"title": "审批人"
		},
		{
			"ID": "1925460245409832962",
			"approver": 2,
			"auto": 0,
			"createBy": "ry",
			"createTime": "2025-05-22 15:54:30",

			"params": {},
			"preTaskId": "1925460147292479490",
			"processDefinitionId": 4866,
			"processDesignId": "lCeN3c2",
			"processInstancesId": "1925459974415851521",
			"read": 0,
			"taskGroupId": "1925460245372084224",
			"taskStatus": 2,
			"taskType": 2,

			"counterSign": false,
			"title": "审批人"
		},
		{
			"ID": "1925460309935005698",
			"approver": 1,
			"auto": 0,
			"createBy": "admin",
			"createTime": "2025-05-22 15:54:46",

			"params": {},
			"preTaskId": "1925460147292479490",
			"processDefinitionId": 4866,
			"processDesignId": "lCeN3c2",
			"processInstancesId": "1925459974415851521",
			"read": 0,
			"taskGroupId": "1925460309893062656",
			"taskStatus": 3,
			"taskType": 2,

			"counterSign": false,
			"title": "审批人"
		},
		{
			"ID": "1925460309867896834",
			"approver": 2,
			"auto": 0,
			"createBy": "admin",
			"createTime": "2025-05-22 15:54:46",

			"params": {},
			"preTaskId": "1925460245409832961",
			"processDefinitionId": 4866,
			"processDesignId": "PLkgOb2",
			"processInstancesId": "1925459974415851521",
			"read": 0,
			"taskGroupId": "1925460309893062656",
			"taskStatus": 3,
			"taskType": 1,

			"title": "发起人"
		}
	]
</script>
